package com.learn.yu.aop;

/**
 * @author : Yu.Tan
 * @date : 2023/6/15 15:35
 * @desc : **
 */
public class AopDemoServiceImpl {

    public void aopMethod1() {
        System.out.println("AopDemoServiceImpl.aopMethod1()");
    }

    public String aopMethod2() {
        System.out.println("AopDemoServiceImpl.aopMethod2()");
        return "hello!aopMethod2";
    }

    public String aopMethod3() throws Exception {
        System.out.println("AopDemoServiceImpl.aopMethod3()");
        throw new Exception("aopMethod3 exception");
    }
}
